The phrase "to get the miles" means to travel a long distance in order to achieve a goal or gain experience.